package com.xunk.equipment.service.acrel.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.xunk.common.core.domain.EquipmentResponse;

/**
 * @ProjectName: xunk
 * @Package: com.xunk.equipment.service.acrel.vo
 * @ClassName: SmartWaterVO
 * @Author: dongxiaoxin
 * @Description: 用水量统计信息
 * @Date: 2021/3/29 14:42
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SmartWaterVO extends EquipmentResponse {

    /**
     * 开关状态
     */
    private Boolean on;
    /** 累计流量 */
    private String flow;
    /** 小时、星期几、日、月 、年*/
    private String dimension;
    /** 瞬时流量 */
    private String insFlow;

    public SmartWaterVO(String flow, String dimension) {
        this.flow = flow;
        this.dimension = dimension;
    }
}
